{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"component\", \"components\", \"disabled\", \"componentsProps\"];\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport composeClasses from '../composeClasses';\nimport { getOptionGroupUnstyledUtilityClass } from './optionGroupUnstyledClasses';\nimport { useSlotProps } from '../utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nfunction useUtilityClasses(disabled) {\n  var slots = {\n    root: ['root', disabled && 'disabled'],\n    label: ['label'],\n    list: ['list']\n  };\n  return composeClasses(slots, getOptionGroupUnstyledUtilityClass, {});\n}\n/**\n * An unstyled option group to be used within a SelectUnstyled.\n *\n * Demos:\n *\n * - [Unstyled Select](https://mui.com/base/react-select/)\n *\n * API:\n *\n * - [OptionGroupUnstyled API](https://mui.com/base/api/option-group-unstyled/)\n */\n\nvar OptionGroupUnstyled = /*#__PURE__*/React.forwardRef(function OptionGroupUnstyled(props, ref) {\n  var component = props.component,\n    _props$components = props.components,\n    components = _props$components === void 0 ? {} : _props$components,\n    _props$disabled = props.disabled,\n    disabled = _props$disabled === void 0 ? false : _props$disabled,\n    _props$componentsProp = props.componentsProps,\n    componentsProps = _props$componentsProp === void 0 ? {} : _props$componentsProp,\n    other = _objectWithoutPropertiesLoose(props, _excluded);\n  var Root = component || (components == null ? void 0 : components.Root) || 'li';\n  var Label = (components == null ? void 0 : components.Label) || 'span';\n  var List = (components == null ? void 0 : components.List) || 'ul';\n  var classes = useUtilityClasses(disabled);\n  var rootProps = useSlotProps({\n    elementType: Root,\n    externalSlotProps: componentsProps.root,\n    externalForwardedProps: other,\n    additionalProps: {\n      ref: ref\n    },\n    ownerState: props,\n    className: classes.root\n  });\n  var labelProps = useSlotProps({\n    elementType: Label,\n    externalSlotProps: componentsProps.label,\n    ownerState: props,\n    className: classes.label\n  });\n  var listProps = useSlotProps({\n    elementType: List,\n    externalSlotProps: componentsProps.list,\n    ownerState: props,\n    className: classes.list\n  });\n  return /*#__PURE__*/_jsxs(Root, _extends({}, rootProps, {\n    children: [/*#__PURE__*/_jsx(Label, _extends({}, labelProps, {\n      children: props.label\n    })), /*#__PURE__*/_jsx(List, _extends({}, listProps, {\n      children: props.children\n    }))]\n  }));\n});\nprocess.env.NODE_ENV !== \"production\" ? OptionGroupUnstyled.propTypes\n/* remove-proptypes */ = {\n  // ----------------------------- Warning --------------------------------\n  // | These PropTypes are generated from the TypeScript type definitions |\n  // |     To update them edit TypeScript types and run \"yarn proptypes\"  |\n  // ----------------------------------------------------------------------\n\n  /**\n   * @ignore\n   */\n  children: PropTypes.node,\n  /**\n   * The component used for the root node.\n   * Either a string to use a HTML element or a component.\n   */\n  component: PropTypes.elementType,\n  /**\n   * The components used for each slot inside the OptionGroupUnstyled.\n   * Either a string to use a HTML element or a component.\n   * @default {}\n   */\n  components: PropTypes.shape({\n    Label: PropTypes.elementType,\n    List: PropTypes.elementType,\n    Root: PropTypes.elementType\n  }),\n  /**\n   * The props used for each slot inside the Input.\n   * @default {}\n   */\n  componentsProps: PropTypes.shape({\n    label: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n    list: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n    root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n  }),\n  /**\n   * If `true` all the options in the group will be disabled.\n   * @default false\n   */\n  disabled: PropTypes.bool,\n  /**\n   * The human-readable description of the group.\n   */\n  label: PropTypes.node\n} : void 0;\nexport default OptionGroupUnstyled;","map":{"version":3,"names":["_extends","_objectWithoutPropertiesLoose","_excluded","React","PropTypes","composeClasses","getOptionGroupUnstyledUtilityClass","useSlotProps","jsx","_jsx","jsxs","_jsxs","useUtilityClasses","disabled","slots","root","label","list","OptionGroupUnstyled","forwardRef","props","ref","component","components","componentsProps","other","Root","Label","List","classes","rootProps","elementType","externalSlotProps","externalForwardedProps","additionalProps","ownerState","className","labelProps","listProps","children","process","env","NODE_ENV","propTypes","node","shape","oneOfType","func","object","bool"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@mui/base/OptionGroupUnstyled/OptionGroupUnstyled.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"component\", \"components\", \"disabled\", \"componentsProps\"];\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport composeClasses from '../composeClasses';\nimport { getOptionGroupUnstyledUtilityClass } from './optionGroupUnstyledClasses';\nimport { useSlotProps } from '../utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\n\nfunction useUtilityClasses(disabled) {\n  const slots = {\n    root: ['root', disabled && 'disabled'],\n    label: ['label'],\n    list: ['list']\n  };\n  return composeClasses(slots, getOptionGroupUnstyledUtilityClass, {});\n}\n/**\n * An unstyled option group to be used within a SelectUnstyled.\n *\n * Demos:\n *\n * - [Unstyled Select](https://mui.com/base/react-select/)\n *\n * API:\n *\n * - [OptionGroupUnstyled API](https://mui.com/base/api/option-group-unstyled/)\n */\n\n\nconst OptionGroupUnstyled = /*#__PURE__*/React.forwardRef(function OptionGroupUnstyled(props, ref) {\n  const {\n    component,\n    components = {},\n    disabled = false,\n    componentsProps = {}\n  } = props,\n        other = _objectWithoutPropertiesLoose(props, _excluded);\n\n  const Root = component || (components == null ? void 0 : components.Root) || 'li';\n  const Label = (components == null ? void 0 : components.Label) || 'span';\n  const List = (components == null ? void 0 : components.List) || 'ul';\n  const classes = useUtilityClasses(disabled);\n  const rootProps = useSlotProps({\n    elementType: Root,\n    externalSlotProps: componentsProps.root,\n    externalForwardedProps: other,\n    additionalProps: {\n      ref\n    },\n    ownerState: props,\n    className: classes.root\n  });\n  const labelProps = useSlotProps({\n    elementType: Label,\n    externalSlotProps: componentsProps.label,\n    ownerState: props,\n    className: classes.label\n  });\n  const listProps = useSlotProps({\n    elementType: List,\n    externalSlotProps: componentsProps.list,\n    ownerState: props,\n    className: classes.list\n  });\n  return /*#__PURE__*/_jsxs(Root, _extends({}, rootProps, {\n    children: [/*#__PURE__*/_jsx(Label, _extends({}, labelProps, {\n      children: props.label\n    })), /*#__PURE__*/_jsx(List, _extends({}, listProps, {\n      children: props.children\n    }))]\n  }));\n});\nprocess.env.NODE_ENV !== \"production\" ? OptionGroupUnstyled.propTypes\n/* remove-proptypes */\n= {\n  // ----------------------------- Warning --------------------------------\n  // | These PropTypes are generated from the TypeScript type definitions |\n  // |     To update them edit TypeScript types and run \"yarn proptypes\"  |\n  // ----------------------------------------------------------------------\n\n  /**\n   * @ignore\n   */\n  children: PropTypes.node,\n\n  /**\n   * The component used for the root node.\n   * Either a string to use a HTML element or a component.\n   */\n  component: PropTypes.elementType,\n\n  /**\n   * The components used for each slot inside the OptionGroupUnstyled.\n   * Either a string to use a HTML element or a component.\n   * @default {}\n   */\n  components: PropTypes.shape({\n    Label: PropTypes.elementType,\n    List: PropTypes.elementType,\n    Root: PropTypes.elementType\n  }),\n\n  /**\n   * The props used for each slot inside the Input.\n   * @default {}\n   */\n  componentsProps: PropTypes.shape({\n    label: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n    list: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n    root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n  }),\n\n  /**\n   * If `true` all the options in the group will be disabled.\n   * @default false\n   */\n  disabled: PropTypes.bool,\n\n  /**\n   * The human-readable description of the group.\n   */\n  label: PropTypes.node\n} : void 0;\nexport default OptionGroupUnstyled;"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,oCAAoC;AACzD,OAAOC,6BAA6B,MAAM,yDAAyD;AACnG,IAAMC,SAAS,GAAG,CAAC,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,iBAAiB,CAAC;AAC5E,OAAOC,KAAK,M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